#header {
    height: 60px;
}

#header > div {
    height: 60px;
    margin-left: 10px;
    line-height: 60px;
}

#logo {
    height: 30px;
}

#searchNoteInput {
    margin-top: 14px;
}

#links > a, #user > a {
    height: 30px;
    display: inline-block;
    border-radius: 4px;
    vertical-align: middle;
    line-height: 30px;
    padding: 0 10px;
}

#links a:hover, #user > a:hover {
    text-decoration: none;
    cursor: pointer;
}

#avatar {
    height: 30px;
    max-width: 30px;
    border-radius: 30px;
    float: left;
    margin: 0 5px;
}

#mainContainer {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
}

#notebooks {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 200px;
    border-right: 1px solid #ddd;
}

#notebookSplitter {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 200px;
    width: 5px;
}

#notebookSplitter:hover {
    cursor: col-resize;
}

#noteAndEditor {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 205px;
    right: 0;
    border-left: 1px solid #ddd;
}

#addNotebookPlus {
    position: absolute;
    right: 10px;
    top: 13px;
}

#searchNotebookInput {
    margin: auto;
}

/*菜单栏*/
.menu > .menu-heading {
    height: 40px;
    width: 100%;
    font-size: 15px;
    border-bottom: 1px solid #ddd;
    overflow: hidden;
}

.menu > .menu-heading:hover {
    cursor: pointer;
}

.menu > .menu-heading > .menu-icon {
    display: table-cell;
    border-right: 1px solid #ddd;
    vertical-align: middle;
    padding: 10px;
    width: 40px;
    text-align: center;
}

.menu > .menu-heading > .menu-title {
    display: table-cell;
    vertical-align: middle;
    padding: 10px;
}

.menu > .menu-body {
    display: none;
    border-bottom: 1px solid #ddd;
}

.menu.open > .menu-body {
    display: block;
}

#notebookList {
    padding: 0;
}

#notebookList:hover .notebook > .info > .icon {
    visibility: visible;
}

#notebookList li {
    list-style: none;
}

#notebookList > li.search {
    padding: 2px 10px;
}

#notebookList > li.notebook {
    border-bottom: 1px dotted #ddd;
}

/*笔记本*/
.notebook {
    list-style: none;
}

.notebook > .info:hover {
    background: #ddd;
    cursor: pointer;
}

.notebook > .info > .icon {
    display: inline-block;
    width: 25px;
    height: 35px;
    line-height: 35px;
    padding: 0 10px;
    visibility: hidden;
}

.notebook > .info > .icon.empty {
    height: 0;
}

.notebook > .info > .name {
    display: inline-block;
    height: 35px;
    line-height: 35px;
}

.notebook-sub {
    display: none;
    padding: 0 0 0 20px;
}

.notebook.open > .notebook-sub {
    display: block;
}

.notebook-sub > .notebook {
    padding: 0;
}

/*标签*/
#tagList {
    padding: 0 10px;
}

#tagList > .tag {
    list-style: none;
    display: inline-block;
    color: #fff;
    font-size: 10px;
    padding: 5px;
    margin-top: 5px;
}
#tagList > .tag:hover {
    cursor: pointer;
}